{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Funny fix\n",
    "import collections.abc\n",
    "import itertools\n",
    "import sys\n",
    "\n",
    "# 模拟 torch._six\n",
    "class _six:\n",
    "    string_classes = (str,)\n",
    "    int_classes = (int,)\n",
    "    FileNotFoundError = FileNotFoundError\n",
    "    Iterable = collections.abc.Iterable\n",
    "    from itertools import repeat\n",
    "\n",
    "sys.modules['torch._six'] = _six\n"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
